﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ClassifierLib.Environment
{
    /// <summary>
    /// This class represents the state of the environment in a given instance
    /// Derived types can be used to modify how the LCS interacts with the environment
    /// </summary>
    public class State
    {
        private List<double> _values; // TODO: make this templated for bool

        /// <summary>
        /// Default constructor
        /// </summary>
        public State()
        {
            _values = new List<double>();
        }

        /// <summary>
        /// Construct from a list of sensor values
        /// </summary>
        public State(List<double> Values)
        {
            _values = Values;
        }

        /// <summary>
        /// Sensor values in state
        /// </summary>
        public List<double> Values
        {
            get
            {
                return _values;
            }
            set
            {
                _values = value;
            }
        }
    }
}
